/*
 * Copyright (c) 2011. This file is public under GPLv3 license.
 * For more information about license please refer to http://www.gnu.org/licenses/gpl.html
 */

package com.freetools.watchdog.model;

import com.freetools.watchdog.exceptions.CommandErrorException;
import com.freetools.watchdog.exceptions.ParametersErrorException;

import java.util.List;


/**
 * Date: Jun 23, 2010
 *
 * @author Michael Morozov
 */
public interface ICommand
{
    String[] getName();

    List<String> getParameters();

    boolean isMultipleParametrized();

    void execute(IModelHolder model) throws ParametersErrorException, CommandErrorException;
}
